@import "./reset.css";
body {
    padding: 0 20px;
    background-color: #eeeeee;
}

header {
    display: flex;
}

header>div,
header>nav {
    background-color: #444A5A;
    border-radius: 0 0 10px 10px;
    line-height: 80px;
    font-size: 22px;
    color: #ffffff;
}

header>div {
    width: 240px;
    margin-right: 20px;
    text-align: center;
}

header>nav {
    flex-grow: 1;
    display: inline-flex;
}

header>nav .logo {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background-color: #ffffff;
}

header>nav #username {
    margin-left: auto;
}

header>nav button {
    background-color: transparent;
    border: 0;
    font-size: 22px;
    color: #ffffff;
    margin-left: auto;
    margin-right: 50px;
}

header>nav button:hover {
    opacity: .5;
}

main {
    display: flex;
    margin-top: 20px;
}

main>nav {
    width: 240px;
    min-height: 500px;
    background-color: #444A5A;
    border-radius: 10px 10px 0 0;
    margin-right: 20px;
}

main>nav>h3 {
    font-size: 22px;
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
    text-align: center;
    padding: 20px 0;
}

.listBox>h3 {
    color: #ffffff;
    font-size: 18px;
    text-align: center;
    padding: 20px 0;
}

.list .item>button {
    display: block;
    background-color: transparent;
    border: 0;
    color: #ffffff;
    font-size: 18px;
    margin: 20px auto;
}

.list .item>button:hover {
    opacity: .5;
    cursor: pointer;
}

main>div {
    flex-grow: 1;
    min-height: 500px;
    background-color: #ffffff;
    border-radius: 10px 10px 0 0;
}

.headTitle {
    padding: 20px;
}

.searchBox {
    padding: 20px;
    text-align: right;
}

.searchBox>* {
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #ffffff;
    border: 1px solid #666666;
}

.tabTitle {
    background-color: #999999;
    justify-content: space-around;
    padding: 10px 0;
    width: 100%;
}

.content>.head,
.tabTitle {
    display: none;
    padding: 5px 0;
}

.tabTitle>span,
.body .list li>span {
    display: inline-block;
    width: 180px;
    text-align: center;
    padding: 5px 0;
}

.body .list li:nth-child(even) {
    background-color: #ccc;
}

.body .list {
    padding-bottom: 50px;
}

.add-box {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, .1);
    display: flex;
    display: none;
}

.add-box>.add-content {
    width: 80%;
    height: 80%;
    margin: 50px auto;
    background-color: #fff;
    border-radius: 30px;
    padding: 30px;
}

.add-box>.add-content span {
    display: inline-block;
    padding: 10px;
    width: 120px;
    text-align: right;
}

.add-box>.add-content input {
    padding: 5px;
}